package com.sh.caryr.erp.entity.trade;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("erp_order_statistics")
public class OrderStatistics implements Serializable {

    protected Long id;

    protected String coco;

    protected String date; //"date": "2018-05",

    protected float skuCount = 0f; //"sku_count": 443

    protected float amount = 0f; //"amount": 1222.22,

    protected int orderCount = 0; //"order_count": 30,

    @TableField(exist = false)
    protected String bulletClass = ""; //"bulletClass": "lastBullet"

    @TableField(exist = false)
    protected String alpha = "0.6"; //transparent

    public OrderStatistics(String date) {
        this.date = date;
    }
}
